package com.game.logic.core.scene;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.EqualsAndHashCode;
import lombok.Getter;

import java.util.function.Function;

@Getter
@EqualsAndHashCode(of = "channelId")
@AllArgsConstructor
public class ChannelEntry {
    /// 频道ID
    @JsonIgnore
    protected final String channelId;

    /// 指定推送组
    protected final Function<Object, ?> pushToGroup;
}
